
import Layout from '@/views/layout/Layout'

const recycle = {
  path: '/recycle',
  component: Layout,
  name: 'recycle',
  redirect: '/recycle/client',
  alwaysShow: true,
  meta: { title: '回收站', roles: ['1', '17', '18', '16'], icon: 'recyclebin' },
  children: [
    {
      path: 'order',
      name: 'recycle.order',
      component: () => import('@/views/recycle/order/index'),
      meta: { title: '订单', icon: 'subsystem', fullPath: '/recycle/order' }
    },
    // {
    //   path: 'tencent',
    //   name: 'recycle.tencent',
    //   component: () => import('@/views/recycle/tencent/index'),
    //   meta: { title: '公众号', icon: 'subsystem', fullPath: '/recycle/tencent' }
    // },
    // {
    //   path: 'client',
    //   name: 'recycle.client',
    //   component: () => import('@/views/recycle/client/index'),
    //   meta: { title: '客户', icon: 'subsystem', fullPath: '/recycle/client' }
    // },
    // {
    //   path: 'contact',
    //   name: 'recycle.contact',
    //   component: () => import('@/views/recycle/contact/index'),
    //   meta: { title: '联系人', icon: 'subsystem', fullPath: '/recycle/contact' }
    // },
    // {
    //   path: 'sale_contract',
    //   name: 'recycle.sale_contract',
    //   component: () => import('@/views/recycle/sale_contract/index'),
    //   meta: { title: '销售合同', icon: 'subsystem', fullPath: '/recycle/sale_contract' }
    // },
    // {
    //   path: 'purchase_contract',
    //   name: 'recycle.purchase_contract',
    //   component: () => import('@/views/recycle/purchase_contract/index'),
    //   meta: { title: '采购合同', icon: 'subsystem', fullPath: '/recycle/purchase_contract' }
    // },
    // {
    //   path: 'reconcile',
    //   name: 'recycle.reconcile',
    //   component: () => import('@/views/recycle/reconcile/index'),
    //   meta: { title: '对账', icon: 'subsystem', fullPath: '/recycle/reconcile' }
    // },
    // {
    //   path: 'invoice',
    //   name: 'recycle.invoice',
    //   component: () => import('@/views/recycle/invoice/index'),
    //   meta: { title: '开票', icon: 'subsystem', fullPath: '/recycle/invoice' }
    // },
    // {
    //   path: 'buy_account',
    //   name: 'recycle.buy_account',
    //   component: () => import('@/views/recycle/buy_account/index'),
    //   meta: { title: '买号', icon: 'subsystem', fullPath: '/recycle/buy_account' }
    // },
    // {
    //   path: 'buy_quantity',
    //   name: 'recycle.buy_quantity',
    //   component: () => import('@/views/recycle/buy_quantity/index'),
    //   meta: { title: '买量', icon: 'subsystem', fullPath: '/recycle/buy_quantity' }
    // }
  ]
}

export default recycle
